<?php
/**
 * Created by PhpStorm.
 * User: hedx
 * Date: 2016/3/30
 * Time: 16:54
 */

namespace common\mq\models;

use yii\db\ActiveRecord;

/**
 * Class MessageServiceSendModel
 * @package business\base\models
 *
 * @property string queue_name
 * @property string message_id
 * @property string message_type
 * @property string message_service_id
 * @property int message_priority
 * @property int message_delay_seconds
 * @property string message_body
 * @property int send_status
 * @property string send_time
 * @property string last_updated_time
 * @property string remark
 */
class MessageServiceSendModel extends ActiveRecord
{
    //消息发送状态: 未发送, 发送成功, 发送失败
    const NOT_SEND = 0;
    const SEND_SUCCESS = 1;
    const SEND_FAIL = 2;

    public static function tableName()
    {
        return "b2b_support.bizp_message_service_send";
    }

}